//
//  PPCreateAlbumTableViewAlbumCell.h
//  pickpic
//
//  Created by Jinxiao on 8/28/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "PPAlbumContentViewDataSource.h"

@class PPAlbumContentTableViewPictureRowCell;

@protocol PPAlbumContentTableViewPictureRowCellDelegate <NSObject>

- (void)pictureCell:(PPAlbumContentTableViewPictureRowCell *)pictureCell didSelectArtworkAtIndex:(NSInteger)index;

- (void)pictureCell:(PPAlbumContentTableViewPictureRowCell *)pictureCell didSelectDeleteButton:(UIButton *)button atIndex:(NSInteger)index;

@end

@interface PPAlbumContentTableViewPictureRowCell : UITableViewCell

@property (readwrite, nonatomic, strong) PPAbstractArtwork *artwork1;
@property (readwrite, nonatomic, strong) PPAbstractArtwork *artwork2;
@property (readwrite, nonatomic, strong) PPAbstractArtwork *artwork3;
@property (readwrite, nonatomic, strong) PPAbstractArtwork *artwork4;

@property (readwrite, nonatomic, weak) id<PPAlbumContentTableViewPictureRowCellDelegate> delegate;

+ (CGFloat)heightForNumberOfPictures:(NSInteger)numberOfAlbums boundingSize:(CGSize)boundingSize;

@end
